package com.qing.provider.service;

import com.qing.api.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserService {


    void addUse(User user);

    User queryById(@Param("id") Long id);

    List<User> queryUser(@Param("name") String name);

    void deleteById(Long id);
}
